package ro.qi.framework.sys.i18n.currencies.entities;

import ro.qi.framework.sys.entities.Entity;

public class CurrencyCollection extends Entity {

	public CurrencyCollection() {
		super();
		select();
	}

	public int getCollectionSize() {
		return getCollectionSize("currencies");
	}

	public int getId(int index) {
		return getCollectionIntValue("currencies","id",index);
	}
	
	public Currency getCurrency(int index) {
		return new Currency(getId(index));
	}

}
